package net.jforum.dao;

import java.util.List;

import net.jforum.entities.User;

/**
 * @ author  张洋 jackson.zhang@ericsson.com
 * @ version 创建时间 ：Aug 18, 2010  10:04:31 AM
 * @ description : 
 */
public interface UserFriendDAO {

	public List selectAllFriendsByUserId(int userId);
	
	public void deleteByUserAndFriend(int userId,int friendId);
	
	public void addOneRelation(User user,User friend);
	
	public boolean addOneRelationByIds(int userID,int friendId);
	
	public boolean isFriendAdded( int userId,int frindId);
}
